// pages/more/more.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        haveaddress:false,
        havephoto:false,
        userName:'',
        sign_Time:'',
        address:'',
        photofile:'',
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
        this.setData({
            userName:options.userName,
            sign_Time:options.sign_Time,
        })
        if(options.address!=null){
            this.setData({
                haveaddress:true,
                address:options.address,
            })
        }
        if(options.photofile!=null){
            this.setData({
                havephoto:true,
                photofile:"http://tmp/"+options.photofile
            })
        }
    },

    

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {

    }
})